﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Beacon.SPC;

namespace Beacon.Test
{
    class Program
    {
        static void Main(string[] args)
        {
            // test rules
            //RuleTester.test();

            // test train
            //TrainTester.test();
            RandomTester.test();
            Console.ReadLine();
        }
    }

    public static class SpcDataQueueExtensions
    {
        public static void PrintConsole(this SpcDataQueue queue)
        {
            if (queue.Count <= 0)
                return;

            Console.WriteLine("--------------------------------");
            for (int i = 0; i < queue.Count; i++)
            {
                Console.Write("| {0} ", queue.ElementAt(i));
            }
            Console.WriteLine("|");
            Console.WriteLine("--------------------------------");
        }
    }  
}
